#ifndef CXSHOWTHREAD_H
#define CXSHOWTHREAD_H

#include <QThread>
#include <CxImageBuffer.hpp>

class CxShowThread : public QThread
{
    Q_OBJECT
public:
    explicit CxShowThread(int display_fd,CxImageBuffer<4> *,uchar *framebuffer,QObject *parent = 0);
    ~CxShowThread();

protected:
    void        run();
    
signals:
    
public slots:

private:
    volatile        uint        m_currentcount;
    int                         m_displayfd;
    CxImageBuffer<4>            *m_pbuffer;
    uchar                       *m_framebuffer;
};

#endif // CXSHOWTHREAD_H
